package com.ai.aiagent.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import org.springframework.ai.chat.messages.Message;

import java.util.List;


public interface MysqlChatMemoryService {
    void save(Long conversationId, String promptType, List<Message> messages) throws JsonProcessingException;

    List<Message> get(Long conversationId) throws JsonProcessingException;

    void clear(Long conversationId);
}
